const Mock = require('mockjs')
const data = Mock.mock({
	'items':[{
		storeDesc:'录入方式',
		storeKey:'addTypeList',
		storeUrl:null,
		storeValues:[{
			v:'1',
			d:'手工新增'
		},{
			v:'2',
			d:'模板倒入'
		},{
			v:'3',
			d:'PDF导入'
		}]
	},{
		storeDesc:'所属条线',
		storeKey:'lineList',
		storeUrl:null,
		storeValues:[{
			v:'1',
			d:'公司治理条线'
		},{
			v:'2',
			d:'办公管理条线'
		},{
			v:'3',
			d:'公司银行条线'
		},{
			v:'4',
			d:'小企业信贷条线'
		},{
			v:'5',
			d:'零售银行条线'
		},{
			v:'6',
			d:'投资银行条线'
		}]
	}]
})

module.exports = [
  {
    url: '/vue-admin-template/dict/list',
    type: 'get',
    response: config => {
      const items = data.items
      return {
        code: 20000,
        data: {
          total: items.length,
          items: items
        }
      }
    }
  }
]
